/*
 * @Author: your name
 * @Date: 2022-01-06 15:33:13
 * @LastEditTime: 2022-01-10 09:59:15
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \elementui\src\api\index.js
 */
import axios from "axios";

let instance  =axios.create({
    baseURL:"http://localhost:3000/",
    timeout:5000
})

instance.interceptors.request.use((config)=>{
    return config
})
instance.interceptors.response.use((response)=>{
    return response
})
export default instance